# -*- coding: utf-8 -*-
import  upyun
up_conn = upyun.UpYun('gcseoimg5','qinman','gc7232275')
with open ('./test.jpg','rb') as f:
     res = up_conn.put('./test.jpg',f,checksum=True)
print res